package com.maimang.platform.dsp.entity;

import com.maimang.platform.annotation.Excel;
import com.maimang.platform.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * @author Rocky
 * @version 1.0.0
 * @classname Qualification
 * @description <br>广告主资质主表对应实体类</br>
 * @date 2019-12-17 10:11:36
 * @email jintaozhao@qq.com
 */
public class Qualification extends BaseEntity {
	private static final long serialVersionUID = 1L;


	/**
	 * 广告主id
	 */
	@Excel(name = "广告主id")
	private Long advertiserId;

	/**
	 * 对公验证类型
	 */
	@Excel(name = "对公验证类型")
	private Integer status;

	/**
	 * 拒绝理由
	 */
	@Excel(name = "拒绝理由")
	private String rejectReason;

	/**
	 * 主体资质
	 */
	private Subject subject;
	/**
	 * 开户资质列表
	 */
	private Others[] others;
	/**
	 * 推广资质
	 */
	private Promotion promotion;

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	public Others[] getOthers() {
		return others;
	}

	public void setOthers(Others[] others) {
		this.others = others;
	}

	public Promotion getPromotion() {
		return promotion;
	}

	public void setPromotion(Promotion promotion) {
		this.promotion = promotion;
	}

	public Long getAdvertiserId() {
		return advertiserId;
	}

	public void setAdvertiserId(Long advertiserId) {
		this.advertiserId = advertiserId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRejectReason() {
		return rejectReason;
	}

	public void setRejectReason(String rejectReason) {
		this.rejectReason = rejectReason;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("advertiserId", getAdvertiserId())
				.append("status", getStatus())
				.append("rejectReason", getRejectReason())
				.toString();
	}
}
